<template>
  <div class="artuser">
    <div class="artuserItem border-2 border-r bg-69 boxS-i-4">
      <div class="broker" v-if="data.isBroker">
        <img src="../../assets/icon/broker.svg" alt="">
      </div>
      <div class="head_img">
        <img :src="data.head_img" alt="">
      </div>
      <div class="font-14 text-c font-f-iR color-f">{{data.name}}</div>
      <div class="font-14 font-f-iR color-f">{{data.desc}}</div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'artuser',
  props: ['data'],
  data () {
    return {
      startTime: ''
    }
  },
  created () {
    // console.log(this.data)
  },
  methods: {
    getCalandarData: function (val) {
      console.log(val)
    }
  }
}
</script>
<style lang="less" scoped>
.artuser {
  width: 100%;
  height: auto;
  overflow: hidden;
  .artuserItem {
    position: relative;
    padding: 10px;
    .broker {
      position: absolute;
      top: 10px;
      left: 10px;
    }
    .head_img {
      width: 62px;
      height: 62px;
      margin: 10px auto;
      overflow: hidden;
      border-radius: 50%;
      border: 2px solid #fff;
      img {
         width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }
  }
}
</style>
